package cn.xn.hrms.api.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ysz
 */
@Data
public class PersonalRewardReqDTO {
    @NotNull(message = "员工必填")
    private Integer personalId;
    @NotNull(message = "时间必填")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date rewardDate;
    @NotNull(message = "奖惩类型必填")
    private Integer rewardKind;
    private BigDecimal rewardAmount;
    private String rewardDescription;
}
